package com.example.ssm.rental.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.ssm.rental.common.base.BaseEntity;

/**
 * 浏览历史
 */
@TableName("t_view_history")
public class ViewHistory extends BaseEntity {

    /**
     * ID
     */
    private Long id;

    /**
     * 用户ID
     */

    private Long userId;

    /**
     * 房子ID
     */
    private Long houseId;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getHouseId() {
        return houseId;
    }

    public void setHouseId(Long houseId) {
        this.houseId = houseId;
    }
}
